<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>统计管理</title>
	<meta name="decorator" content="default"/>
	<script src="${ctxStatic}/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		
		<li class="active"><a href="${ctx}/wechat/statics/members/">会员统计</a></li>
	</ul>
	<form id="searchForm"   action="${ctx}/wechat/statics/members" method="post" class="breadcrumb form-search">
		
		<label>手机号 ：</label><input type="text" name="mobile" />
		<label>开始结束 ：</label>
					<input id="startTime" name="startTime" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
						value="${startTime }"
						onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
						
		<label>结束时间 ：</label>
					<input id="endTime" name="endTime" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
						value="${endTime }"
						onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
						
		&nbsp;&nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
	</form>
	<tags:message content="${message}"/>
	
 	
	<table id="contentTable" class="table table-striped table-bordered ">
		<thead><tr>
			<th>所属商家</th>
			<th>会员数量</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${resultList}" var="stat">
			<tr>
				<td>${stat.name}</td>
				<td>${stat.cnt}</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</body>
</html>
